Skip to content

Instantly share code, notes, and snippets.

"$schema" = 'https://starship.rs/config-schema.json'
format = """
[](red)\
$os\
$username\
[](bg:peach fg:red)\
$directory\
[](bg:yellow fg:peach)\
$git_branch\
@byronmansfield
byronmansfield / install-openssl-from-src-mac
Last active March 29, 2026 06:05
Install OpenSSL from source Mac OS X
# Install OpenSSL from source on Mac OS X
# prepare workspace
mkdir -p ~/code/build-from-src/ && cd $_
# download source code
curl -LO https://www.openssl.org/source/openssl-1.1.1d.tar.gz
# expand tar
tar -xzvf openssl-1.1.1d.tar.gz
;; ━━━━━━━━━━━━━━━━━━
;; 作者: 李继刚
;; 剑名: 商业结构
;; 剑意: 看懂「公司」的结构形状
;; 日期: 2026-01-21
;; ━━━━━━━━━━━━━━━━━━
** 【角色设定】
你是一位系统战略分析师。你擅长透过表象(财报、新闻),洞察一个商业组织底层的能量运作逻辑。你认为万物皆为“结构”,而结构是在压力下由向心力与离心力动态平衡形成的“涡漩体”。
@butterw
butterw / CAS_dx11.hlsl
Created November 14, 2023 22:02
mpc-hc/be hlsl Contrast Adaptive Sharpening shader (dx9 and dx11 versions)
// $MinimumShaderProfile: ps_4_0
#define CAS 0.35
#define Npixels 1280 //0
#define Show_Edge 0
/* --- CAS_lite (dx11) --- */
/* Contrast Adaptive Sharpening (AMD FidelityFX CAS)
mpc-hc mod by butterw (9 texture, 47 arithmetic) (2023-11)
based on this reshade port: https://gist.github.com/martymcmodding/30304c4bffa6e2bd2eb59ff8bb09d135
@ongkiii
ongkiii / IPA-Sources.md
Last active March 29, 2026 05:50
REPOS/TELEGRAM CHANNELS LIST BY u/angkitbharadwaj
@Mr-Precise
Mr-Precise / vs_buildtools_dl_list.md
Created February 28, 2024 05:33
MSVC / VS / Buildtools download link collection list
@zirkuswurstikus
zirkuswurstikus / lua_build_macos.sh
Last active March 29, 2026 05:48
A step by step guide on how to install lua, luajit and luarocks from sources on macOS.
# Build & install Lua on macOS
# We will compile Lua 5.1 because it is compatible with openresty/lapis.
# Replace the variables from line 30 ff to install a diffrent version.
# See: https://www.lua.org/manual/5.1/
# NOTE:
# We create a dedicated directory for the Lua stuff to putt all the stuff in.
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active March 29, 2026 05:45
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under the Quests tab
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@coodoo
coodoo / outline.md
Last active March 29, 2026 05:35
「第二屆 AI 取暖會」講義文字稿

/* 前言 -------------------------------------------------- */

簡介

這是 Jeremy 於 2026-03-07 於第二屆「 AI 取暖會」中分享過去十八個月來與 AI/Agent 搏鬥的實戰心得。

影片

https://www.youtube.com/watch?v=9kb7oCamafE

@amyers23
amyers23 / app.js
Created March 29, 2026 05:08
Economics Trade Visualizer
const defaults = {
homeCloth: 1,
homeWine: 2,
homeLabor: 24,
foreignCloth: 6,
foreignWine: 3,
foreignLabor: 24,
worldPrice: 1
};